POV-Ray : Newsgroups : povray.binaries.animations : Ship decelerating... : Ship decelerating... Server Time
18 Jul 2024 18:19:40 EDT (-0400)
  Ship decelerating...  
From: Rarius
Date: 27 Apr 2004 12:39:28
Message: <408e8cc0@news.povray.org>
Something I've been working on for a while... Based on an idea I had while
watching a Goauld mothershghip on Stargate SG1.

The stars in the background are correct. I downloaded the Bright Star
Catalogue and converted it into a POV include file.

Most of the detailing is CSG but the panelling seen as the lights play
across the hull are a function based pattern I designed. This is a
cylindrical version of the inbuilt cells pattern. It is used with a
texturemap which varies the phong value from cell to cell. The lit windows
are also a texture, in this case using the inbuilt cells pattern with a
texturemap.

#local tDull=
texture
{
    pigment{colour rgb<.85, .60, .60>}
    finish{phong .125 phong_size 5}
}

#local tShiny=
texture
{
    pigment{colour rgb<.90, .65, .65>}
    finish{phong .875 phong_size 20}
}

#local rnd=function(x, y)
{
    mod(sin(x*5003)+sin(y*677), 919)
}

#local RadialPanels=function(x, y, a, b)
{
    rnd(int(atan2(x, y)/(2*pi)*a)/a, int(sqrt((x*x)+(y*y))*b)/b)
}

#local tHull=
texture
{
    function{RadialPanels(x/12, y/12, 12+(int(sqrt((x*x)+(y*y))/4)*12), 10)}
    texture_map
    {
        [0.0 tDull]
        [1.0 tShiny]
    }
    scale 4
}

Any comments?

Rarius


Post a reply to this message


Attachments:
Download 'Goauld3d.avi.dat' (693 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.